{*include file="template/admin_head.htm"*}
 <script type="text/javascript">
$(function(){
	$(".remove_pic").click(function(){
		if(!confirm('你确定要删除吗?'))
		return false;
		var $id=$(this).attr("id");
		var $url = $(this).attr("title");
		$("#"+$id+"_show").remove();
		//alert($id);
	});
	
})
 </script>
<div>
	{*foreach item=item key=key from=$data*}
    {*assign var=id value=$smarty.now|cat:$key*}
    <div id="{*$id*}_show" class="photo_list">
		<div class="photo_remove_div">
			<a class="photo_remove" id="{*$id*}" title="abc.jpe" href="javascript:void(0);"><img src="{*$cf_site_addr*}public/images/admin/close2.png" width="17" height="18" /></a>
		</div>
    	<div class="photo_detail">
        	<img src="{*$cf_site_addr*}public/images/admin/contant_user_img.jpg" width="120" height="120" onload="javascript:drawimage(this,120,120)" />
    	</div> 
        <div class="photo_text">
        	<input name="{*$target*}_photo[]" type="text" size="18" /><input name="{*$target*}_text[]" type="text" size="18" />
    	</div>
	</div>
  {*/foreach*}  
    
    

</div>
{*include file="template/admin_foot.htm"*}
